/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SessionBeans;

import EntityBeans.Product;
import java.util.List;
import javax.ejb.Local;
import javax.faces.model.ListDataModel;

/**
 *
 * @author Pierre
 */
@Local
public interface ProductFacadeLocal {

    void create(Product product);

    void edit(Product product);

    void remove(Product product);

    Product find(Object id);

    List<Product> findAll();

    List<Product> findRange(int[] range);

    int count();
    
    List<Product> ProductByType(long type);
    
    Product ProductByID(int id);

    
}
